home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Utilities / Cron ƒ / cron command docs.txt < prev    next >
Encoding:
Text File  |  1992-10-01  |  8.6 KB  |  306 lines  |  [TEXT/Rich]

  1.  
  2.  
  3.  
  4. cron command summary
  5.  
  6. version 1.0d10 of 1-Oct-92
  7.  
  8.  
  9.  
  10.  
  11. Command Name:            Description:
  12. ——————————————————————    ————————————————————————————————————
  13. activity-report            Ask user what (s)he is doing.
  14. beep                    Generate one or more beeps.
  15. "cron fader"            Experimental screen saver.
  16. disinfect                Initiate anti-virus scans.
  17. echo                    Display an alert.
  18. "midnight sky fader"    Experimental screen saver.
  19. mountafp                Mount an AppleShare (AFP) volume.
  20. open                    Open/print an application or file.
  21. quit                    Quit an application.
  22. shutdown                Shutdown/restart the macintosh.
  23. sound                    Play a sound file.
  24. "tcp time client"        Get correct time from Time server.
  25. unmount                    Unmount (eject) a volume (disk).
  26. uupc                    Run the UUPC program.
  27.  
  28.  
  29.  
  30.  
  31.  
  32. ——————————————————————————————————————————————————————————————————
  33.  
  34. Usage:        activity-report [-t dialogTimeOut] [-l activityLogFile]
  35.                 [-p promptString] [-w windowTitle]
  36.             
  37. Purpose:    Bring up a window on the user's screen into which they 
  38.             can type up to 255 characters of text. The text is 
  39.             recorded in a log file with a time stamp attached to 
  40.             each entry.
  41.             
  42. Options:    -t    Change prompt dialog timeout from default of 60 
  43.                 seconds, to the supplied number of seconds.
  44.                 
  45.             -l    Use the following name for the log file, instead
  46.                 of the default ("Activity Log.txt").
  47.                 
  48.             -p    Use the following string as the prompt in the
  49.                 activity dialog.
  50.                 
  51.             -w    Use the following string as the window title for 
  52.                 the activity dialog.
  53.  
  54.  
  55.  
  56.  
  57. ——————————————————————————————————————————————————————————————————
  58.  
  59. Usage:        beep [BeepCount]
  60.  
  61. Purpose:    Beep BeepCount times, or just once if BeepCount is
  62.             omitted.
  63.  
  64. Options:    None.
  65.  
  66.  
  67.  
  68.  
  69. ——————————————————————————————————————————————————————————————————
  70.  
  71. Usage:      "cron fader"
  72.  
  73. Purpose:    Screen saver.  The cron icon dances randomly around 
  74.             all available screens, preriodically spelling out the
  75.             name "cron".
  76.             
  77. Options:    None.
  78.  
  79.  
  80.  
  81.  
  82. ——————————————————————————————————————————————————————————————————
  83.  
  84. Usage:        disinfect [options] [Disinfector] [TargetPathNames]
  85.  
  86. Purpose:    Run the anti-virus program on the optionally specified 
  87.             volumes.  If the Disinfector is not specified with the
  88.             '-c' or '-n' options, Disinfectant 3.x is assumed.
  89.             
  90.             While Disinfectant 3.x is not available yet, other 
  91.             anti-virus systems do, or will soon, support the anti-
  92.             virus AppleEvents dispatched by this command.  I 
  93.             believe that SAM 3.0 currently supports this.
  94.  
  95. Options:    -c    Run the program whose creator code is supplied as
  96.                 the Disinfector argument.
  97.             -n    Run the program whose name is specified in the 
  98.                 Disinfector argument.
  99.             -x    Scan instead of disinfecting.  (Normally you won't
  100.                 want to use this option.)
  101.             -s    Scan the system volume (so you don't have to know 
  102.                 its name).
  103.             -a    Scan all mounted volumes (so you don't have to 
  104.                 know any volume's name).
  105.             -b    Run the the disinfector program in the background
  106.                 (so you don't have to watch it all happen).
  107.  
  108.  
  109.  
  110.  
  111. ——————————————————————————————————————————————————————————————————
  112.  
  113. Usage:        echo [-t timeout] <args>...
  114.             
  115. Purpose:    Echo arguments to "standard" output using notification 
  116.             manager.
  117.             
  118. Options:    -t    Notification Manager alert automatically goes away
  119.                 after the timeout interval (in seconds) has 
  120.                 elapsed.
  121.  
  122. Author:        Mike Pearce
  123.  
  124.  
  125.  
  126.  
  127. ——————————————————————————————————————————————————————————————————
  128.  
  129. Usage:      "midnight sky fader"
  130.  
  131. Purpose:    Screen saver.  Draws a night sky with clouds.  
  132.             
  133. Options:    None.
  134.  
  135. Notes:        Requires at least a 68020 processor, System 7 and lots 
  136.             of RAM.  Designed around 24 bit color, but will dither
  137.             to any bit-depth.  The introductory screen will look 
  138.             terrible if you don't have the Palatino TrueType font 
  139.             installed.
  140.  
  141.  
  142.  
  143. ——————————————————————————————————————————————————————————————————
  144.  
  145. Usage:        mountafp ZoneName ServerName VolName UserName 
  146.                 UserPassword
  147.             
  148. Purpose:    Mount the volume specified by VolName of the AFP file 
  149.             server named ServerName in the ZoneName zone.  Log in
  150.             with the UserName user name and UserPassword password.
  151.             
  152. Options:    No options.
  153.  
  154.  
  155.  
  156.  
  157. ——————————————————————————————————————————————————————————————————
  158.  
  159. Usage:        open [[-c applicationCreatorCode] | [-n applicationName]] 
  160.                 [-b] fileName
  161.             
  162. Purpose:    Open the specified files, optionally forcing a particular
  163.             application to open them. If any of the specified files
  164.             are aliases, they are resolved and the files to which they
  165.             point are opened. 
  166.             
  167. Options:    -c    Use the following four letter creator code to 
  168.                 identify the application that should be used to 
  169.                 open the specified files.
  170.                 
  171.             -n    Use the following named application to identify the
  172.                 application that should be used to open the spec-
  173.                 ified files.
  174.                 
  175.             -b    If the specified application must be launched, 
  176.                 launch it in the background, instead of the fore-
  177.                 ground.
  178.                 
  179.             -p    Print the files (instead of just opening them).
  180.  
  181.  
  182.  
  183.  
  184. ——————————————————————————————————————————————————————————————————
  185.  
  186. Usage:        quit [-c applicationCreatorCode] | [-n applicationName] 
  187.             
  188. Purpose:    Quit the specified programs.
  189.             
  190. Options:    -c    Use the following four letter creator code to 
  191.                 identify the application that should be terminated.
  192.                 
  193.             -n    Use the following name to identify the application 
  194.                 that should be terminated.
  195.  
  196.  
  197.  
  198.  
  199. ——————————————————————————————————————————————————————————————————
  200.  
  201. Usage:        shutdown [-rd] DelaySeconds [-i PromptString]
  202.  
  203. Purpose:    Kill all processes and shutdown or restart the computer.
  204.  
  205. Options:    -r    Restart the computer, instead of shutting it down.
  206.                 
  207.             -d    Delete desktop files on all mounted volumes.  This
  208.                 forces them to be rebuilt the next time the volumes
  209.                 are mounted.
  210.             
  211.             -i    Shutdown interactively -- display a shutdown alert.
  212.                 PromptString should be specified when this option 
  213.                 is used.
  214.  
  215. Note:        Processes that do not support AppleEvents will delay 
  216.             shutdown, since the OS will not kill them until the
  217.             Quit event sent to them has timed-out.  This can easily 
  218.             take a minute or two.  Eventually, however, all processes
  219.             will be killed and the restart/shutdown will take place.
  220.  
  221.  
  222.  
  223.  
  224. ——————————————————————————————————————————————————————————————————
  225.  
  226. Usage:        sound SoundNames
  227.  
  228. Purpose:    Play the 'snd ' resources specified by the SoundNames
  229.             arguments.  Sound will look for the 'snd ' resources 
  230.             in either the System file or in sound files of the 
  231.             same names.  Any number of sound names may be specified 
  232.             -- each one will be played once and in the listed order.
  233.  
  234. Options:    None.
  235.  
  236. Warning:    Sound may not work if it does not have enough memory 
  237.             in order to load the specified sound resource.  Adj-
  238.             usting the memory allocation for sound will fix this.
  239.  
  240.  
  241.  
  242.  
  243. ——————————————————————————————————————————————————————————————————
  244.  
  245. Usage:        "tcp time client" [-d] ServerName [BackupServerNames]
  246.             
  247. Purpose:    Connect to the specified time server, get the time 
  248.             from it, and reset the Mac's time and date accordingly.
  249.             
  250.             Any number of time servers may be specified; each
  251.             will be tried in turn until the time is successfully
  252.             retrieved from one of them. Typically, you'll want
  253.             to specify your local time server first, then one or
  254.             two backup servers which should be tried if your 
  255.             local server is unavailable for some reason.
  256.             
  257. Options:    -d    Adjust for Daylight Savings Time (DST). Use this
  258.                 option if you live in an area of the USA that 
  259.                 conforms to the DST convention.
  260.  
  261. Note:        This is a TCP-based implementation of the "Time Protocol" 
  262.             defined in RFC 868 of May 1983 (available from 
  263.             nis.nsf.net). While most time servers support both TCP 
  264.             and UDP based queries, there are exceptions. ULTRIX, for
  265.             example, seems to be distributed with its support for
  266.             TCP-based queries present, but disabled. Consequently, 
  267.             this command is useful with most, but not all, time
  268.             servers.
  269.             
  270.             MacTCP is required, and the Map control panel must be 
  271.             set to the correct local time zone for this to work 
  272.             properly.
  273.  
  274.  
  275.  
  276.  
  277. ——————————————————————————————————————————————————————————————————
  278.  
  279. Usage:        unmount VolumeName
  280.             
  281. Purpose:    Unmount the volumes specified by VolumeName and all 
  282.             subsequent arguments.  Volume names need not include
  283.             a trailing colon.
  284.             
  285. Options:    No options.
  286.  
  287.  
  288.  
  289.  
  290. ——————————————————————————————————————————————————————————————————
  291.  
  292. Usage:        uupc [-n applicationName] [-b] SystemName
  293.             
  294. Purpose:    Instruct UUPC 3.0 to connect to the systems specified
  295.             by SystemName and all subsequent parameters.
  296.             
  297. Options:    -q    Quit UUPC when the calls are complete.
  298.                 
  299.             -n    Use the following name to identify the application 
  300.                 that should be used to connect to the specified 
  301.                 systems.
  302.                 
  303.             -b    Launch UUPC in the background, instead of the 
  304.                 foreground.
  305.  
  306.